(defun insert-sql-get-table-and-view()
  "Select all tables and views of a database."
  (interactive)
  (insert "select \* from INFORMATION_SCHEMA.TABLES")
  )

(defun sqlserver-get-table-description()
  "Sql Server 2008 get description of a table in a database"
  (interactive)
  (insert "select * from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = \'PacomObjectType\'")
  )